WOPB\VariationSwatches D

Total Complexity 162
Dependencies 3
Dependents 3
Total lines 848
Lines of code 585
Logical lines of code 338
Comment lines 180
Methods 26
Properties 2

Methods 26

Method Rating Maintainability Complexity Lines of code
variation_swatch_html()
D
24
46 159
variation_enable_check()
A
46 13 38
attribute_fields()
A
44 12 46
swatchesInWcListingPage()
A
50 10 26
loop_variation_form()
A
44 9 40
swatches_show_loop_item_price()
A
58 10 13
wopb_loop_add_to_cart_ajax()
A
50 9 24
create_attribute_column_content()
A
53 8 21
manage_attribute_term()
S
52 7 22
set_product_option_terms()
S
47 5 37
generate_css()
S
50 5 28
swatches_shop_loop_item_title()
S
61 5 12
save_term_meta()
S
62 4 11
get_taxonomy_attribute()
S
61 3 12
initial_setup()
S
52 2 25
swatches_show_loop_add_to_cart()
S
67 3 7
__construct()
S
53 1 21
create_attribute_column()
S
65 2 9
available_variation()
S
75 1 4
edit_attribute_field()
S
71 1 5
create_attribute_field()
S
75 1 4
label_attribute_column()
S
75 1 4
image_attribute_column()
S
75 1 4
color_attribute_column()
S
75 1 4
create_attribute_type()
S
76 1 4
add_variation_swatches_scripts()
S
71 1 5